package com.allwees.bs.c.module.app.repository;

import com.allwees.bs.c.module.app.entity.AppVersionUpdateEntity;
import com.allwees.bs.c.module.base.repository.BaseRepository;
import org.springframework.data.jpa.repository.Query;



public interface AppVersionUpdateRepository extends BaseRepository<AppVersionUpdateEntity, Integer> {


    @Query("SELECT s FROM AppVersionUpdateEntity s WHERE s.platform = :platForm  AND s.channel = :channel AND s.isDeleted = 0 AND s.status = 0 ")
    AppVersionUpdateEntity findByChannelAndPlatform(String platForm, String channel);
}
